package com.example.mapper;

import com.example.model.UserReport;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

/**
 * Created by ykbboom on 2017/3/21.
 */
@Mapper
@Component
public interface ReportMapper {
    @Insert(value = "insert into user_report(report_content,reporter_phone) values(#{reportContent},#{reporterPhone})")
    Integer addUserReport(UserReport userReport);
}
